package com.wangyadong.hobby.front.model.event;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.event.ContextStartedEvent;

public class MyFirstEvent extends ApplicationEvent {


    private String baby;
    private boolean haveBaby;

    public MyFirstEvent(Object source) {
        super(source);
    }

    public String getBaby() {
        return baby;
    }

    public void setBaby(String baby) {
        this.baby = baby;
    }

    public boolean isHaveBaby() {
        return haveBaby;
    }

    public void setHaveBaby(boolean haveBaby) {
        this.haveBaby = haveBaby;
    }
}
